package com.ang.filter.filters.filterRegistrationBean;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author ssang
 * @date 2023-11-02 10:21
 */
public class MyFilterRegistrationBean1 implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("进入过滤器：MyFilterRegistrationBean1");
        filterChain.doFilter(servletRequest, servletResponse);
        System.out.println("出过滤器：MyFilterRegistrationBean1");
    }
}
